package com.xvaca.spcms.bean;

public class PipeBean {

	private int id;
	private int channelId; // 所属渠道id
	private String name; // 渠道名称
	private String cmd; // 通道指令
	private int partnerId; // 所属合作方ID
	private String syncUrl; // 同步地址
	private int price; // 结算价格
	private double deduction; // 扣量比例
	private int status; // 状态 （0-未启用，1-已启用）
	private String description; // 描述
	private String createdAt; // 添加时间
	private String updatedAt; // 最后更新时间
	
	private int needMO; // 是否需要同步MO 0－不需要，1－需要
	
	private ChannelBean channel; // 通道
	private PartnerBean partner; // 合作方
	
	private int syncRecordCount; // 已同步记录数
	private int syncRecordErrorCount; // 错误记录数
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getChannelId() {
		return channelId;
	}
	public void setChannelId(int channelId) {
		this.channelId = channelId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCmd() {
		return cmd;
	}
	public void setCmd(String cmd) {
		this.cmd = cmd;
	}
	public int getPartnerId() {
		return partnerId;
	}
	public void setPartnerId(int partnerId) {
		this.partnerId = partnerId;
	}
	public String getSyncUrl() {
		return syncUrl;
	}
	public void setSyncUrl(String syncUrl) {
		this.syncUrl = syncUrl;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public double getDeduction() {
		return deduction;
	}
	public void setDeduction(double deduction) {
		this.deduction = deduction;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getCreatedAt() {
		return createdAt;
	}
	public void setCreatedAt(String createdAt) {
		this.createdAt = createdAt;
	}
	public String getUpdatedAt() {
		return updatedAt;
	}
	public void setUpdatedAt(String updatedAt) {
		this.updatedAt = updatedAt;
	}
	public ChannelBean getChannel() {
		return channel;
	}
	public void setChannel(ChannelBean channel) {
		this.channel = channel;
	}
	public PartnerBean getPartner() {
		return partner;
	}
	public void setPartner(PartnerBean partner) {
		this.partner = partner;
	}
	public int getSyncRecordCount() {
		return syncRecordCount;
	}
	public void setSyncRecordCount(int syncRecordCount) {
		this.syncRecordCount = syncRecordCount;
	}
	public int getSyncRecordErrorCount() {
		return syncRecordErrorCount;
	}
	public void setSyncRecordErrorCount(int syncRecordErrorCount) {
		this.syncRecordErrorCount = syncRecordErrorCount;
	}
	public int getNeedMO() {
		return needMO;
	}
	public void setNeedMO(int needMO) {
		this.needMO = needMO;
	}
	
	
	
}
